Total Complexity | 49 |
Dependencies | 4 |
Dependents | 3 |
Total lines | 863 |
Lines of code | 823 |
Logical lines of code | 81 |
Comment lines | 10 |
Methods | 14 |
Properties | 4 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
init_form_fields() | 1 | 646 | ||
add_script_handles() | 52 | 12 | 22 | |
add_script_data() | 47 | 9 | 34 | |
render_shop_message_container() | 61 | 6 | 12 | |
handle_add_to_cart() | 59 | 4 | 15 | |
add_shop_loop_data() | 61 | 4 | 12 | |
handle_after_order_total() | 65 | 3 | 11 | |
handle_cart_totals() | 65 | 3 | 11 | |
get_context_options() | 52 | 2 | 25 | |
__construct() | 59 | 1 | 13 | |
get_admin_script_dependencies() | 76 | 1 | 4 | |
get_product_form_fields() | 64 | 1 | 10 | |
is_product_section_enabled() | 72 | 1 | 5 | |
is_shop_section_enabled() | 80 | 1 | 3 |